package com.nc.delivery_project.shared.proxy;

import com.google.web.bindery.requestfactory.shared.EntityProxy;
import com.google.web.bindery.requestfactory.shared.ProxyFor;
import com.nc.delivery_project.server.domain.Order;
import com.nc.delivery_project.server.domain.Payment;
import com.nc.delivery_project.server.domain.User;
import com.nc.delivery_project.shared.locator.OrderLocator;

import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * User: Natalie D.
 * Date: 1/17/15
 * Time: 9:01 PM
 */
@ProxyFor(value = Order.class, locator = OrderLocator.class)
public interface OrderProxy extends EntityProxy {

    int getId();

    UserProxy getSender();
    void setSender(UserProxy sender);

    UserProxy getReceiver();
    void setReceiver(UserProxy receiver);

    String getStartDate();
    void setStartDate(String startDate);

    String getDeliveryDate();
    void setDeliveryDate(String deliveryDate);

    String getComment();
    void setComment(String comment);

    String getStatus();
    void setStatus(String status);

    PaymentProxy getPayment();
    void setPayment(PaymentProxy payment);

    //orderWayPoints
}
